package com.fraud;

import java.util.Collection;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Vector;

public class Customer {

	public Customer(String name, int timesPurchased, String billingCountry,
			String shippingCountry, int cartTotal, int paymentMethod) {
		super();
		this.name = name;
		this.timesPurchased = timesPurchased;
		this.billingCountry = billingCountry;
		this.shippingCountry = shippingCountry;
		this.cartTotal = cartTotal;
		this.paymentMethod = paymentMethod;
		this.requiresCheck=false;

	}
	public static final int BANK=1;
	public static final int CREDIT_CARD=2;
	
	
	
    public boolean isRequiresCheck() {
		return requiresCheck;
	}
	public void setRequiresCheck(boolean requiresCheck) {
		this.requiresCheck = requiresCheck;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getTimesPurchased() {
		return timesPurchased;
	}
	public void setTimesPurchased(int timesPurchased) {
		this.timesPurchased = timesPurchased;
	}
	public String getBillingCountry() {
		return billingCountry;
	}
	public void setBillingCountry(String billingCountry) {
		this.billingCountry = billingCountry;
	}
	public String getShippingCountry() {
		return shippingCountry;
	}
	public void setShippingCountry(String shippingCountry) {
		this.shippingCountry = shippingCountry;
	}
	public int getCartTotal() {
		return cartTotal;
	}
	public void setCartTotal(int cartTotal) {
		this.cartTotal = cartTotal;
	}
	public int getPaymentMethod() {
		return paymentMethod;
	}
	public void setPaymentMethod(int paymentMethod) {
		this.paymentMethod = paymentMethod;
	}
	private String name;
    private int timesPurchased;
    private String billingCountry;
    private String shippingCountry;
    private int cartTotal;
    private int paymentMethod;
    private boolean requiresCheck=false;
    private Collection<String> commonCountries;



	public Collection<String> getCommonCountries() {
		return commonCountries;
	}

}